package cn.jx.asc.socket;

import java.util.Date;
import org.json.*;
import java.util.Timer;

public class Instruct {
    int instructID;
    JSONObject instruct;
    long  time;

    Instruct(int id,JSONObject ins){
        instructID = id;
        instruct = ins;
        time = new Date().getTime();//指令插入时间
    }

    public int getInstructID() {
        return instructID;
    }
    public void setInstructID(int instructID) {
        this.instructID = instructID;
    }
    public JSONObject getInstruct() {
        return instruct;
    }
    public void setInstruct(JSONObject instruct) {
        this.instruct = instruct;
    }
    public long getTime(){
        return time;
    }

}
